package com.amado.course03;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class SystemIn {
	public static void main(String[] args) throws IOException {
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		 System.out.println("录入你的年龄");
	     String age = stdin.readLine();
	     //true
	     boolean isTrue = Integer.parseInt(age)>18;
	     if(isTrue){
	    	 System.out.println("成年人");
	     }else{
	    	 System.out.println("未成年人");
	     }
	}
	
}
